import java.util.ArrayList;


public class Library {

	private ArrayList<Book> Index;
	public String Author;
	public String Buch;	// damn what was this about X_x
	public String ISBN;
	public String Titel;
	public Book Book;
	
public Library() {}

public Library(String Author, String Buch, String ISBN, String Titel){
	
	this.Author = Author;
	this.Buch = Buch;
	this.ISBN = ISBN;
	this.Titel = Titel;
}

public String SearchISBN(String ISBN){
	String Result = null;
	if(ISBN == getISBN()){
		Result = getBuch();
	}
	return Result;
}
public boolean Insert(String ISBN, String Author, String Titel){	
	Book = new Book(this.ISBN, this.Author, this.Titel);
	Index.add(Book);
	if( Book.class != null ){	//rethink Constructer 
		return true;
	}
	else{
	return false;
	}
}

public String getAuthor(){
	return this.Author;
}
public void setAuthor(){
	this.Author = Author;
}
public String getBuch(){
	return this.Buch;
}
public void setBuch(){
	this.Buch = Buch;
}
public String getISBN(){
	return this.ISBN;
}
public void setISBN(){
	this.ISBN = ISBN;
}
public String getTitel(){
	return this.Titel;
}
public void setTitel(){
	this.Titel = Titel;
}
}